package com.design.template;

import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

/**
 * 京东商城
 * @author ytj
 * @date 2024/11/28 14:38
 */
@Slf4j
public class JdMall extends NetMall{

    public JdMall(String uid, String password) {
        super(uid, password);
    }

    @Override
    protected boolean login(String uid, String password) {
        log.info("执行京东商城登录操作");
        return true;
    }

    @Override
    protected List<String> crawle(String url) {
        log.info("执行京东商城爬虫操作");
        return new ArrayList<>();
    }

    @Override
    protected void generated(List<String> list) {
        log.info("执行京东商城生成海报操作");
    }
}
